<extend name="Public/Dialog/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent">
        <!-- 表单 -->
        <form id="form" action="{:U('update')}" data-toggle="validate" method="post" class="pageForm">
            <!-- 基础 -->
            <div id="tab1" class="tab-pane in tab1">
                <div class="form-item cf">
                    <label class="item-label">模型标识<span class="check-tips">（请输入文档模型标识）</span></label>

                    <div class="controls">
                        <input type="text" class="text " name="name" value="">
                    </div>
                </div>
                <div class="form-item cf">
                    <label class="item-label">模型名称<span class="check-tips">（请输入模型的名称）</span></label>

                    <div class="controls">
                        <input type="text" class="text " name="title" value="">
                    </div>
                </div>
                <div class="form-item cf">
                    <label class="item-label">模型类型<span class="check-tips">（目前只支持独立模型和文档模型）</span></label>

                    <div class="controls">
                        <select name="extend">
                            <option value="0">独立模型</option>
                            <option value="1">文档模型</option>
                        </select>
                    </div>
                </div>
                <div class="form-item cf">
                    <label class="item-label">引擎类型<span class="check-tips"></span></label>
                    <div class="controls">
                        <select name="engine_type">
                            <option value="MyISAM">MyISAM</option>
                            <option value="InnoDB">InnoDB</option>
                            <option value="MEMORY">MEMORY</option>
                            <option value="BLACKHOLE">BLACKHOLE</option>
                            <option value="MRG_MYISAM">MRG_MYISAM</option>
                            <option value="ARCHIVE">ARCHIVE</option>
                        </select>
                    </div>
                </div>
                <div class="form-item cf">
                    <label class="item-label">是否需要主键<span class="check-tips">（选“是”则会新建默认的id字段作为主键）</span></label>

                    <div class="controls">
                        <select name="need_pk">
                            <option value="1" selected="selected">是</option>
                            <option value="0">否</option>
                        </select>
                    </div>
                </div>
            </div>
        </form>
    </div>
</block>